package org.cargloss.cp.controller.admin;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


import com.opensymphony.xwork2.ActionSupport;

public class ActionPage extends ActionSupport {
	private boolean subMenu;
	private String nav;
	private List<String[]> listSubMenu;
	
	private static final long serialVersionUID = 3107220959703009022L;

	public String execute() {
		return SUCCESS;
	}

	
	public String home() {
		return SUCCESS;
	}
	
	public String user() {
		return SUCCESS;
	}
	
	
	public String menus() {
		subMenu = true;
		nav = "Admin > Manage Menu";
		listSubMenu.add(new String[] {"admin/kelompokpengguna","Kelompok Pengguna"});	
		listSubMenu.add(new String[] {"admin/penggunasistem","Pengguna Sistem"});	
		
		return SUCCESS;
	}


	public boolean isSubMenu() {
		return subMenu;
	}


	public void setSubMenu(boolean subMenu) {
		this.subMenu = subMenu;
	}


	

	public String getNav() {
		return nav;
	}


	public void setNav(String nav) {
		this.nav = nav;
	}
}
